Integrand size = 39, antiderivative size = 151 \[ \int \sec (c+d x) (b \sec (c+d x))^{4/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {3 (10 A+7 C) \operatorname {Hypergeometric2F1}\left (-\frac {2}{3},\frac {1}{2},\frac {1}{3},\cos ^2(c+d x)\right ) (b \sec (c+d x))^{4/3} \sin (c+d x)}{40 d \sqrt {\sin ^2(c+d x)}}+\frac {3 B \operatorname {Hypergeometric2F1}\left (-\frac {7}{6},\frac {1}{2},-\frac {1}{6},\cos ^2(c+d x)\right ) (b \sec (c+d x))^{7/3} \sin (c+d x)}{7 b d \sqrt {\sin ^2(c+d x)}}+\frac {3 C (b \sec (c+d x))^{7/3} \tan (c+d x)}{10 b d} \]
[Out]
Time = 0.17 (sec) , antiderivative size = 151, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.128, Rules used = {16, 4132, 3857, 2722, 4131} \[ \int \sec (c+d x) (b \sec (c+d x))^{4/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {3 (10 A+7 C) \sin (c+d x) (b \sec (c+d x))^{4/3} \operatorname {Hypergeometric2F1}\left (-\frac {2}{3},\frac {1}{2},\frac {1}{3},\cos ^2(c+d x)\right )}{40 d \sqrt {\sin ^2(c+d x)}}+\frac {3 B \sin (c+d x) (b \sec (c+d x))^{7/3} \operatorname {Hypergeometric2F1}\left (-\frac {7}{6},\frac {1}{2},-\frac {1}{6},\cos ^2(c+d x)\right )}{7 b d \sqrt {\sin ^2(c+d x)}}+\frac {3 C \tan (c+d x) (b \sec (c+d x))^{7/3}}{10 b d} \]
[In]
[Out]
Rule 16
Rule 2722
Rule 3857
Rule 4131
Rule 4132
Rubi steps \begin{align*} \text {integral}& = \frac {\int (b \sec (c+d x))^{7/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx}{b} \\ & = \frac {\int (b \sec (c+d x))^{7/3} \left (A+C \sec ^2(c+d x)\right ) \, dx}{b}+\frac {B \int (b \sec (c+d x))^{10/3} \, dx}{b^2} \\ & = \frac {3 C (b \sec (c+d x))^{7/3} \tan (c+d x)}{10 b d}+\frac {(10 A+7 C) \int (b \sec (c+d x))^{7/3} \, dx}{10 b}+\frac {\left (B \sqrt [3]{\frac {\cos (c+d x)}{b}} \sqrt [3]{b \sec (c+d x)}\right ) \int \frac {1}{\left (\frac {\cos (c+d x)}{b}\right )^{10/3}} \, dx}{b^2} \\ & = \frac {3 C (b \sec (c+d x))^{7/3} \tan (c+d x)}{10 b d}+\frac {3 b B \operatorname {Hypergeometric2F1}\left (-\frac {7}{6},\frac {1}{2},-\frac {1}{6},\cos ^2(c+d x)\right ) \sec (c+d x) \sqrt [3]{b \sec (c+d x)} \tan (c+d x)}{7 d \sqrt {\sin ^2(c+d x)}}+\frac {\left ((10 A+7 C) \sqrt [3]{\frac {\cos (c+d x)}{b}} \sqrt [3]{b \sec (c+d x)}\right ) \int \frac {1}{\left (\frac {\cos (c+d x)}{b}\right )^{7/3}} \, dx}{10 b} \\ & = \frac {3 (10 A+7 C) \operatorname {Hypergeometric2F1}\left (-\frac {2}{3},\frac {1}{2},\frac {1}{3},\cos ^2(c+d x)\right ) (b \sec (c+d x))^{4/3} \sin (c+d x)}{40 d \sqrt {\sin ^2(c+d x)}}+\frac {3 C (b \sec (c+d x))^{7/3} \tan (c+d x)}{10 b d}+\frac {3 b B \operatorname {Hypergeometric2F1}\left (-\frac {7}{6},\frac {1}{2},-\frac {1}{6},\cos ^2(c+d x)\right ) \sec (c+d x) \sqrt [3]{b \sec (c+d x)} \tan (c+d x)}{7 d \sqrt {\sin ^2(c+d x)}} \\ \end{align*}
Time = 0.91 (sec) , antiderivative size = 113, normalized size of antiderivative = 0.75 \[ \int \sec (c+d x) (b \sec (c+d x))^{4/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {3 \cot (c+d x) (b \sec (c+d x))^{7/3} \sqrt {-\tan ^2(c+d x)} \left ((10 A+7 C) \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {7}{6},\frac {13}{6},\sec ^2(c+d x)\right )+7 B \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {5}{3},\frac {8}{3},\sec ^2(c+d x)\right ) \sec (c+d x)-7 C \sqrt {-\tan ^2(c+d x)}\right )}{70 b d} \]
[In]
[Out]
\[\int \sec \left (d x +c \right ) \left (b \sec \left (d x +c \right )\right )^{\frac {4}{3}} \left (A +B \sec \left (d x +c \right )+C \sec \left (d x +c \right )^{2}\right )d x\]
[In]
[Out]
\[ \int \sec (c+d x) (b \sec (c+d x))^{4/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\int { {\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {4}{3}} \sec \left (d x + c\right ) \,d x } \]
[In]
[Out]
\[ \int \sec (c+d x) (b \sec (c+d x))^{4/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\int \left (b \sec {\left (c + d x \right )}\right )^{\frac {4}{3}} \left (A + B \sec {\left (c + d x \right )} + C \sec ^{2}{\left (c + d x \right )}\right ) \sec {\left (c + d x \right )}\, dx \]
[In]
[Out]
\[ \int \sec (c+d x) (b \sec (c+d x))^{4/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\int { {\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {4}{3}} \sec \left (d x + c\right ) \,d x } \]
[In]
[Out]
\[ \int \sec (c+d x) (b \sec (c+d x))^{4/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\int { {\left (C \sec \left (d x + c\right )^{2} + B \sec \left (d x + c\right ) + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac {4}{3}} \sec \left (d x + c\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int \sec (c+d x) (b \sec (c+d x))^{4/3} \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\int \frac {{\left (\frac {b}{\cos \left (c+d\,x\right )}\right )}^{4/3}\,\left (A+\frac {B}{\cos \left (c+d\,x\right )}+\frac {C}{{\cos \left (c+d\,x\right )}^2}\right )}{\cos \left (c+d\,x\right )} \,d x \]
[In]
[Out]